// The InstallScript is the only code in this package.
// There is an entry in the calendar frame called "lastOpenedMainDisplay".
// This is what the "Show" popup sets, and it redoes the display
// directly afterward. There are also several slots with the names of
// the major views: DayView, YearView, and others.
// It would be instructive at this point to connect the Inspector and
// look at getRoot().calendar for such views. They'll all be NIL,
// and have names ending in "View." You can make a different view
// the default by changing lastOpenedMainDisplay to its symbol.


InstallScript := func(packageFrame, removeframe)
getRoot().calendar.lastOpenedMainDisplay := 'AgendaView